package com.system.patient.service;

import com.system.patient.bean.Patient;
import com.system.patient.vo.PatientVo;

import java.util.List;

/**
 * @className: PatientService
 * @description: TODO 类描述
 * @author: Li Chuanwei
 * @date: 2023/11/12 15:35
 * @Company: Copyright [日期] by [作者或个人]
 **/

public interface PatientService {
    boolean savePatient(Patient patient);
    boolean removePatientById(int id);
    boolean modifyPatient(Patient patient);
    Patient getPatientById(int id);
    List<Patient> listAllPatients();
    List<Patient> getPatientsByLoginId(Integer loginId);
    String getPatientName(int id);
    PatientVo findByIdCardNumber(String idCardNumber);
}
